package runesim.profileserv;
/**
 * Constants for the profile/node connectors.
 * @author Jim
 */
public interface ProfileTransferOpCodes {
		
		//NODE->P
		/**
		 * Sent from node to profile server to notify of presence.
		 */
		public static final byte NODE_HELLO = 16;
		
		/**
		 * Sent from node to profile server to get a player's profile.
		 */
		public static final byte NODE_GET_PROFILE = 50;
		
		//P->NODE
		/**
		 * Sent from profile server to node with profile response or profile.
		 */
		public static final byte LS_PROFILE_RESPONSE = 8; //contains response or profile
		
		/**
		 * Sent from profile server to node when handshake was authenticated successfully.
		 */
		public static final byte LS_AUTH = 26;
		
		/**
		 * Sent from profile server to node when handshake was not authenticated successfully.
		 */
		public static final byte LS_BADAUTH = 66;
}